<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/displaytag-11.tld" prefix="display"%>

<link href="<%= request.getContextPath() + "/css/bloques.css" %>"
	rel="stylesheet" type="text/css">
<link href="<%= request.getContextPath() + "/css/table.css" %>"
	rel="stylesheet" type="text/css">
<link href="../../css/bloques.css" rel="stylesheet" media="screen" />
<link href="../../css/table.css" rel="stylesheet" media="screen" />

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="<%=request.getContextPath()%>/js/displaytag.js"
	type="text/javascript"></script>
<title>Consultar1</title>

</head>
<body>
	<logic:present name="beneficiarios">
		<display:table name="beneficiarios" pagesize="20" id="bene"
			cellpadding="3" cellspacing="1" bgcolor="000066" style="width:100%">
			<display:column headerClass="headerTable" title="Documento"
				class="Numero" sortable="true">
				<html:link paramId="numeroDocumento" paramName="bene"
					paramProperty="numeroDocumento" page="/admin/modifyUser.do">
					<bean:write name="bene" property="numeroDocumento" />
				</html:link>
			</display:column>
			<display:column headerClass="headerTable" title="Nombres y Apellidos"
				class="Numero" sortable="false">
				<bean:write name="bene" property="nombres" />
				<bean:write name="bene" property="primerApellido" />
				<bean:write name="bene" property="segundoApellido" />
			</display:column>
			<display:column headerClass="headerTable" title="Borrar"
				class="Numero" sortable="true" align="false">
				<html:link
					onclick="return confirm('Esta seguro que desea eliminar el usuario?')"
					paramId="numeroDocumento" paramName="bene"
					paramProperty="numeroDocumento" page="/admin/deleteUser.do">
					<div align="center">
						<img src="<%= request.getContextPath() + "/images/Delete.gif" %>"
							width="16" height="16" border="0">
					</div>
				</html:link>
			</display:column>
		</display:table>
	</logic:present>




</body>
</html>